package com.kitty.game.house.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

/**
 * 居所 修炼 回到前庭  需要跨线寻路
 *  #Z居所-前庭|H=me#ZHS33554781
 */
@MessageMeta(module = Modules.CMD_CACHE_AUTO_WALK_MSG)
public class ReqCacheAutoWalkMsg extends Message {

    private String autoWalkStr;    ///进居所：#Z居所-前庭|H=me#Z HS33554781  退出居所： #Z天墉城#Z  HS33554781
    private String homeId = "";     //HS33554781
    private String taskType = "";
    private String mapName = "";
    private String serverName = "";

    public String getAutoWalkStr() {
        return autoWalkStr;
    }

    public void setAutoWalkStr(String autoWalkStr) {
        this.autoWalkStr = autoWalkStr;
    }

    public String getHomeId() {
        return homeId;
    }

    public void setHomeId(String homeId) {
        this.homeId = homeId;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getMapName() {
        return mapName;
    }

    public void setMapName(String mapName) {
        this.mapName = mapName;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    /**
     *      pkt:PutLenString(data.autoWalkStr)
     *     pkt:PutLenString(data.homeId or "")
     *     pkt:PutLenString(data.taskType or "")
     *     pkt:PutLenString(data.mapName or "")
     *     pkt:PutLenString(data.serverName or "")
     *        {
     *         autoWalkStr = dest.orgStr,
     *         homeId = "",
     *         taskType = dest.curTaskWalkPath and dest.curTaskWalkPath.task_type,
     *         mapName = dest.map,
     *         serverName = severName
     *       }
     */
}
